﻿<%@ Page Language="C#" AutoEventWireup="false" Inherits="Web.BasePage"%>
<%@ Import Namespace="System.Collections.Generic" %>
<%@ Import Namespace="Web.Controller" %>
<%@ Import Namespace="Domain.Entities" %>
<% 
    DealerHandler h = new DealerHandler();
    DealerInfo info = h.Show();
%>
<fieldset>
    <legend>修改</legend>
    <form method="post" action="Ajax.aspx?Module=Dealer&Handler=Dealer&Action=Update">
        <input type="hidden" name="Id" value="<%=info.Id %>" />
    <dl>
        <dt>经销商名称：</dt>
        <dd><input type="text" name="Name" value="<%=info.Name %>" /></dd>

        <dt>经销商网址：</dt>
        <dd><input type="text" name="Url" value="<%=info.Url %>" /></dd>

        <dt>经销商编码：</dt>
        <dd><input type="text" name="Code" value="<%=info.Code %>"/></dd>

        <dt></dt>
        <dd>
            <button>确定</button>
            <button class="cancel" onclick="return false;">取消</button>
        </dd>
    </dl>
    </form>
</fieldset>